package component.Service;

import component.model.Student;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StuTest111 {
    @Autowired
    Student student;
    public Student getStudent(Integer id , String name){
        student.id=id;
        student.name=name;
        return student;
    }
}
